import http from '@/server'

export async function getUserMsg(params: User.UserListParams) {
    return http.request({
      url: '/msg/search_msg',
      method: 'post',
      headers: {
        'Content-Type': 'application/json', 
      },
      data: params, 
    });
}

export async function revokeMsg(params: User.UserListParams) {
    return http.request({
      url: '/msg/revoke_msg',
      method: 'post',
      headers: {
        'Content-Type': 'application/json', 
      },
      data: params, 
    });
}


